key
Returns an Optional that contains the name of the key by the specified index if it exists in the storage, otherwise an empty Optional. The order of keys is not specified and may change as you add or remove items to the storage.
Parameters
index
the index of the key to get the name of. Must be in range 0 <= index <
length()
Throws
when the index is not in the 0 <= index <
length() range
when the frame is closed
if the access to the storage is forbidden for the current document